import { createApp } from 'vue'
import pinia from '@/stores'
import App from './App.vue'
import router from './router'

import '@/styles/index.scss'
import 'vant/es/toast/style'
import 'virtual:svg-icons-register'
import 'vant/es/dialog/style'

// 创建vue根实例
const app = createApp(App)

// 注册pinia和router
app.use(pinia)
app.use(router)

// 挂载渲染App根组件
app.mount('#app')
